package com.obixlabs.kalua.domainmodel.catalogue;

import com.obixlabs.kalua.domainmodel.NumericId;

public class CategoryImpl implements Category{

	private NumericId id;
	private NumericId catalogue;
	private String name;

	public CategoryImpl() { }

	public CategoryImpl(	NumericId id, 
										NumericId catalogue, 
										String name) {
		this();
		setId(id);
		setCatalogue(catalogue);
		setName(name);
	}
	@Override
	public NumericId getId() { return this.id; }
	public void setId(NumericId id) { this.id = id; }

	@Override
	public NumericId getCatalogue() { return this.catalogue; }
	public void setCatalogue(NumericId catalogue) 
	{ this.catalogue = catalogue; }

	@Override
	public String getName() { return this.name; }
	public void setName(String name) { this.name = name; }
}